package com.jeegit.ecms.front;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 
 * @author 道信
 *
 */
@Controller
@RequestMapping("layouts")
public class SitemeshController {
	@RequestMapping("{fileName}")
	public ModelAndView defaultView(@PathVariable String fileName) {
		return new ModelAndView("cmsfront/themes/basic/layout/" + fileName);
	}
}
